/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Utilities;

/**
 *
 * @author Rainiero
 */
public class GeneralUtilities {

    public static int GetIndex(Object[] array, Object searchedObject)
    {
        for(int i = 0; i < array.length; i++)
            if(array[i].equals(searchedObject))
                return i;
        return -1;
    }

}
